* {
    margin: 0 auto;
    // padding: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

/deep/.g2-tooltip {
    display: none;
    position: absolute;
    background-color: #fff;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px 10px 10px 10px;
    bottom: 20px;
    left: -2.5rem;
    z-index: 999;
    border: 1px solid #3c8dbc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .22), 0 0 6px rgba(0, 0, 0, .34);
    .gg-prober-header {
        padding-bottom: 9px;
        text-align: left;
        .gg-prober-h5 {
            font-size: 0.18rem;
            color: #3e3d3d;
            font-weight: 600;
        }
        .gg-prober-location {
            font-size: 0.16rem;
            padding-top: 8px !important;
            padding-bottom: 4px !important;
            color: #000000;
            display: block;
            width: 70%;
            margin-left: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .gg-switch-content {
        border-top: 1px solid #eeeeee;
        padding-top: 6px;
        .gg-btn-capsuleInline {
            display: inline-block;
            .gg-btn-capsule.is-active {
                border: 1px solid #0d87d4;
                color: #0d87d4;
            }
            a {
                float: left;
                margin-right: 5px;
            }
            .gg-btn-capsule {
                color: #808080;
                border: 1px solid #808080;
                font-size: 0.16rem;
                border-radius: 5px;
                display: inline-block;
                padding: 0 12px;
                background-color: #fff;
                cursor: pointer;
            }
            .gg-btn-capsule:hover {
                border: 1px solid #0d87d4;
                color: #0d87d4;
            }
        }
    }
    .gg-prober-model {
        display: inline-block;
        width: 100%;
        .gg-prober-unit {
            display: none;
            font-size: 0.16rem;
            margin-top: 0;
            .gg-prober-device {
                margin: 5px 0;
                span {
                    font-size: 0.16rem;
                }
                #deviceId {
                    color: #000000;
                }
                #controlHost {
                    color: #000000;
                }
                .gg-probe-cell {
                    margin: 0;
                    a {
                        color: #000000;
                    }
                }
            }
            table {
                width: 100%;
                text-align: center;
            }
            .gg-scroll-tbody {
                overflow-y: auto;
                border: 1px solid #bbb;
                font-size: 0.16rem;
                color: #5e5e5e;
            }
            #curData tr td:nth-child(3) {
                width: 40%;
            }
            .gg-probe-chart__btn {
                display: inline-block;
                font-size: 0.14rem;
            }
        }
    }
    .gg-warnNum-short-dialog {
        min-height: 3.5rem;
        width: 4.7rem;
    }
    .floor-main-wrap {
        //     position: absolute;
        //     top: 82px;
        //     bottom: 0;
        //     left: 0;
        //     right: 0;
        //     padding: 7px 7px 15px;
        //     background-color: #fff;
        .gg-structure {
            height: 100%;
        }
        .toggle-warnNum-dialog {
            cursor: pointer;
            position: absolute;
            height: 1.3rem;
            background: #1a95ec;
            color: #fff;
            text-align: center;
            z-index: 1000;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            top: 1.2rem;
            line-height: 0.25rem;
            .maintenance-back2 {
                color: #fff;
                display: inline-block;
                transform: rotate(180deg);
            }
            [class^="maintenance-"] {
                // font-family: 'ggicon' !important;
                speak: none;
                font-style: normal;
                font-weight: normal;
                font-variant: normal;
                text-transform: none;
                line-height: 1;
                -webkit-font-smoothing: antialiased;
            }
        }
        .add-warnNum-dialog {
            display: none;
            position: absolute;
            z-index: 999;
            border: 1px solid #3c8dbc;
            background-color: #fff;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, .22), 0 0 6px rgba(0, 0, 0, .34);
            .add_deviceUnit {
                overflow: auto;
                background: #edf2fc;
                li {
                    cursor: pointer;
                    float: left;
                    width: 90px;
                    margin: 0 10px;
                    height: .4rem;
                    text-align: center;
                    line-height: .4rem;
                    font-size: 16px;
                }
                .add-unit-active {
                    border-bottom: 1px solid #1a95ec;
                    color: #1a95ec;
                }
            }
            .add-prober-header {
                padding: 12px 9px 5px 20px;
                .gg-prober-h5 {
                    font-size: 0.18rem;
                    color: #3e3d3d;
                    font-weight: 600;
                }
                .gg-prober-location {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    font-size: 0.16rem;
                    padding-top: 8px !important;
                    padding-bottom: 4px !important;
                    color: #000000;
                    display: block;
                    width: 70%;
                    margin-left: 0;
                    .add-device-info {
                        color: #797979;
                    }
                }
            }
            .add-prober-body {
                padding: 0 20px;
                .gg-switch-content {
                    border-top: 1px solid #eeeeee;
                    padding-top: 6px;
                }
                .gg-btn-capsuleInline {
                    display: inline-block;
                    .add-btn-capsule {
                        color: #808080;
                        font-size: 0.16rem;
                        border-radius: 5px;
                        border: 1px solid #808080;
                        cursor: pointer;
                        padding: 0 12px;
                    }
                    .add-btn-capsule:hover {
                        border: 1px solid #0d87d4;
                        color: #0d87d4;
                    }
                    .add-btn-capsule.add-is-active {
                        border: 1px solid #0d87d4;
                        color: #0d87d4;
                    }
                    .gg-btn-capsuleGroup a {
                        float: left;
                        margin-right: 0.05rem;
                    }
                }
                // .add-capuse-time {
                //     margin-top: -.4rem;
                // }
                .add-capuse-time a {
                    float: right;
                    font-size: 0.14rem;
                    margin-right: 5px;
                    cursor: pointer;
                    margin-top: -.08rem;
                }
                .add-capuse-time a:hover {
                    color: #3c8dbc;
                }
                .add-capuse-time .is-active {
                    color: #3c8dbc;
                }
            }
            .gg-prober-model {
                display: inline-block;
                width: 100%;
                .add-prober-unit {
                    display: none;
                    .gg-prober-device {
                        margin: 5px 0 5px 10px;
                        span {
                            font-size: 0.16rem;
                        }
                        .add-device-info {
                            color: #797979;
                        }
                        .gg-probe-cell {
                            margin: 0;
                        }
                    }
                    .gg-probe-list {
                        padding-left: 10px;
                        border: 1px solid #ccc;
                        border-bottom: none;
                        border-left: none;
                        border-right: none;
                        font-size: 0.16rem;
                        margin-top: .1rem;
                    }
                    .gg-scroll-tbody {
                        // height: 1.40rem;
                        overflow-y: auto;
                        border: 1px solid #bbb;
                        font-size: 0.16rem;
                        color: #5e5e5e;
                    }
                    table {
                        width: 100%;
                        text-align: center;
                    }
                    .gg-chart-ele,
                    .gg-chart-tem,
                    .gg-chart-liu,
                    .gg-chart-ya {
                        height: 1.60rem;
                    }
                }
            }
        }
        .add-prober-pos {
            position: absolute;
            text-align: left;
            top: -0.01rem;
        }
    }
    .gg-warnNum-long-dialog {
        min-height: 3.5rem;
        width: 4.7rem;
    }
    .gg-prober-pos {
        top: 3.55rem;
        left: 4.35rem;
    }
    #deviceWater {
        height: 1.6rem;
    }
    .gg-probe-chart {
        position: absolute;
        bottom: 5px;
        width: 4.7rem;
        height: 2rem;
    }
    .gg-online-item {
        display: inline-block;
        font-size: 0.16rem;
        padding: 0 9px;
        margin-left: 10px;
        color: #fff;
        background-color: #66CC99;
        border-radius: 5px;
    }
    .gg-prober-group {
        position: absolute;
        top: 20px;
        right: 20px;
        .gg-normal-item {
            display: inline-block;
            padding: 0 9px;
            color: #fff;
            font-size: 0.16rem;
            background-color: #66CC99;
        }
        .gg-alarm-item {
            display: inline-block;
            padding: 0 9px;
            color: #fff;
            font-size: 0.16rem;
            background-color: #FF3333;
        }
        .gg-prober-item {
            display: inline-block;
            padding: 0 9px;
            color: #fff;
            font-size: 16px;
            background-color: #ff951b;
        }
        .gg-warning-item {
            display: inline-block;
            padding: 0 9px;
            color: #fff;
            font-size: 16px;
            background-color: #9F1D8B;
        }
    }
    .gg-capuse-time {
        .is-active {
            color: #3c8dbc;
        }
        a {
            float: right;
            font-size: 14px;
            margin-right: 5px;
            cursor: pointer;
        }
        a:hover {
            color: #3c8dbc;
        }
    }
    .gg-prober-unit__table {
        border: 1px solid #bbb;
        border-bottom: 0;
        font-size: 0.16rem;
        color: #5e5e5e;
    }
    .gg-chart-tem {
        display: none;
        width: 4.7rem;
        height: 1.7rem;
    }
    .gg-chart-ele {
        width: 4.7rem;
        height: 1.7rem;
    }
    .gg-chart-liu {
        display: none;
        width: 4.7rem;
        height: 1.7rem;
    }
    .gg-chart-ya {
        display: none;
        width: 4.7rem;
        height: 1.7rem;
    }
    .gg-ele-btn {
        color: #3c8dbc;
        margin: 0 4px;
        border-bottom: 2px solid #3c8dbc;
        cursor: pointer;
    }
    .gg-tem-btn {
        color: #a5a5a5;
        margin: 0 4px;
        cursor: pointer;
    }
    .gg-liu-btn {
        color: #a5a5a5;
        margin: 0 4px;
        cursor: pointer;
    }
    .gg-ya-btn {
        color: #a5a5a5;
        margin: 0 4px;
        cursor: pointer;
    }
    .gg-probe-list {
        border: 1px solid #ccc;
        border-bottom: none;
        border-left: none;
        border-right: none;
        font-size: 0.16rem;
        li {
            border-bottom: 1px solid #ccc;
            padding: 0.08rem;
            a {
                font-size: 0.16rem;
                .gg-probe-list--num {
                    padding-right: 0.1rem;
                }
            }
            .gg-probe-list--item {
                .gg-probe-list--time {
                    float: right;
                }
            }
        }
    }
    .gg-probe-list li:nth-child(odd) {
        background-color: #f8f9fa;
    }
    .gg-outline-item {
        display: inline-block;
        padding: 0px 9px;
        margin-left: 10px;
        color: #fff;
        font-size: 0.16rem;
        background-color: #ccc;
        background-clip: padding-box;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    @media screen and (max-width: 1920px) {
        .toggle-warnNum-dialog {
            width: 0.23rem;
            left: 4.9rem;
        }
        .add-prober-pos {
            width: 4.9rem;
            height: 3.77rem;
            left: 4.9rem;
        }
        // .add-prober-body {
        //     .gg-prober-group {
        //         top: 0.7rem;
        //     }
        // }
        .gg-scroll-tbody {
            height: 1.6rem;
        }
    }
    @media screen and (max-width: 1366px) {
        .toggle-warnNum-dialog {
            width: 0.3rem;
            left: 4.97rem;
        }
        .add-prober-pos {
            width: 5rem;
            height: 3.87rem;
            left: 4.97rem;
        }
        // .add-prober-body {
        //     .gg-prober-group {
        //         top: 0.8rem;
        //     }
        // }
        .gg-scroll-tbody {
            height: 1.45rem;
        }
    }
}

/deep/.g2-tooltip:after,
/deep/.g2-tooltip:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

/deep/.g2-tooltip:after {
    border-top-color: white;
    border-width: 10px;
    left: 2.5rem;
    margin-left: -10px;
}

/deep/.g2-tooltip:before {
    border-top-color: #b6b6b6;
    border-width: 11px;
    left: 2.5rem;
    margin-left: -11px;
}